<?php
/**
 * CreateTime: 2023/12/29 16:00
 * User:LinQ
 */

namespace App\Models\System;

use App\Models\BasicModel;

class DataMappingModel extends BasicModel
{
    protected $table = 'data_mapping';

    protected $fillable = [
        'data_mapping_id',
        'parent_id',
        'com_id',
        'value',
        'key',
        'code',
        'status',
        'owner_id',
        'created_at',
        'updated_at',
    ];

    protected $casts = [
        'data_mapping_id' => 'integer',
        'parent_id' => 'integer',
        'com_id' => 'integer',
        'owner_id' => 'integer',
        'value' => 'string',
        'key' => 'string',
        'code' => 'string',
        'created_at' => 'string',
        'updated_at' => 'string',
        'status' => 'integer',
    ];

    protected $hidden = [
        'status',
        'com_id',
        'owner_id',
        'created_at',
        'updated_at',
    ];
}